import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import ProductList from './components/shangping/ProductList.vue'
import axios from 'axios'
import 'video.js/dist/video-js.min.css'
import videojs from 'video.js'

//import echarts from 'echarts'
import 'element-ui/lib/theme-chalk/index.css';



Vue.config.productionTip = false

axios.defaults.withCredentials=true
axios.defaults.baseURL='http://localhost:8081/'
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'
Vue.prototype.$http=axios
Vue.use(ElementUI);
Vue.component("ProductList",ProductList);
Vue.use(ElementUI);



new Vue({
  videojs,
  axios,
  router,
  store,
  render: h => h(App)
}).$mount('#app')
